<!DOCTYPE html>
<html>
    <head>
        <title>setup</title>
        <meta charset="utf-8"/>
        <link rel="stylesheet" href="modulesetup/css/style.css" type="text/css"/>
        <script src="http://code.jquery.com/jquery-2.1.1.min.js"></script>
        <script src="modulesetup/js/ajax.js"></script>
    </head>
    <body>
        <div class="iconmain" ondblclick="setup();">
            <img src="modulesetup/img/iconsetup.png"/>
            <span>Setup website</span>
        </div>
        <div class="iconmain" id="viewvideos" ondblclick="chuyentrang();">
            <img src="modulesetup/img/iconviewweb.png"/>
            <span>Videos portal</span>
        </div>
        <div class="loadding">
            <div class="ctloadding">
                <img src="modulesetup/img/loadding.gif"/>
                <span>Đang tiến hành kiểm tra các file cần thiết...</span>
            </div>
        </div>
        <div class="setupmain">
            <div class="setupct">
                <div class="setupcontainer">
                    <div class="setuptitle"> 
                        <span id="loadtitle"> Trình cài đặt website</span>
                        <a href="javascript:void(0);" title=""><img src="modulesetup/img/close.png"/></a>
                    </div>
                    <!--step1-->
                    <div class="setupstatic" id="step1">
                        <div class="setupstaticimg">
                            <img src="modulesetup/img/001.jpg"/>
                        </div>
                        <div class="setupstaticct">
                            <h2>Cài đặt videos portal</h2>
                            <span>Chào mừng bạn đến với trình cài đặt website videos portal</span>
                        </div>
                    </div>
                    <!--step1-->
                    <!--step2-->
                    <div class="setupstatic" id="step2">
                        <div class="setupstaticimg">
                            <img src="modulesetup/img/002.jpg"/>
                        </div>
                        <div class="setupstaticct">
                            <h2>Cài đặt thông tin cơ sở dữ liệu</h2>
                            <table>
                                <tr><td>Database </td><td><input class="txttext" type="text" name="namedata" id="namedata"/></td></tr>
                                <tr><td>User database </td><td><input class="txttext" type="text" name="userdata" id="userdata"/></td></tr>
                                <tr><td>Pass database </td><td><input class="txttext" type="text" name="passdata" id="passdata"/></td></tr>
                                <tr><td>Host </td><td><input class="txttext" type="text" name="host" id="host"/></td></tr>
                                <tr><td>URL Website </td><td><input class="txttext" type="text" name="urlweb" id="urlweb"/></td></tr>
                                <tr><td colspan="2" style="color: brown;padding:10px 0px;" id="textcheckconnect"> </td></tr>
                                <tr style="display: none;" id="loadcheckconnect"><td colspan="2" style="color: brown;padding:10px 0px;">
                                        <div id="movingBallG">
                                            <div class="movingBallLineG">
                                            </div>
                                            <div id="movingBallG_1" class="movingBallG">
                                            </div>
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </div>
                    <!--step2-->
                    <!--step3-->
                    <div class="setupstatic" id="step3">
                        <div class="setupstaticimg">
                            <img src="modulesetup/img/003.jpg"/>
                        </div>
                        <div class="setupstaticct">
                            <h2>Cài đặt thông tin quản trị</h2>
                            <table>
                                <tr><td>Username </td><td><input class="txttext" type="text" name="username" id="username"/></td></tr>
                                <tr><td>Password </td><td><input class="txttext" type="password" name="password1" id="password1"/></td></tr>
                                <tr><td>Password confirm </td><td><input class="txttext" type="password" name="password2" id="password2"/></td></tr>
                                <tr><td colspan="2" style="color: brown;padding:10px 0px;" id="mestextuse"></td></tr>
                                <tr style="display: none;" id="loaddinguser"><td colspan="2" style="color: brown;padding:10px 0px;">
                                        <div id="movingBallG">
                                            <div class="movingBallLineG">
                                            </div>
                                            <div id="movingBallG_1" class="movingBallG">
                                            </div>
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </div>
                    <!--step3-->
                    <!--step4-->
                    <div class="setupstatic" id="step4">
                        <div class="setupstaticimg">
                            <img src="modulesetup/img/004.jpg"/>
                        </div>
                        <div class="setupstaticct">
                            <h2>Cài đặt thành công</h2>
                            <span>Quá trình cài đặt đã thành công.</span>
                        </div>
                    </div>
                    <!--step4-->
                    <div class="setupcontroll">
                        <input type="hidden" value="2" id="flagstep"/>
                        <a href="javascript:void(0);" onclick="eventstep();" title="">Tiếp theo</a>
                    </div>
                </div>
            </div>
        </div>

    </body>
</html>
